package hu.bme.mit.rifl.main;

import hu.bme.mit.rifl.business.base.RiflOrderQueue;
import hu.bme.mit.rifl.datamodel.Order;

import java.util.ArrayList;
import java.util.Collection;

/**
 * Main method of the application.
 */
public class OrderWF {

	public static void main(String[] args) {
		//test data
		Collection<Order> orders = new ArrayList<Order>();
		
		Order o1 = new Order(1111);
		orders.add(o1);
		Order o2 = new Order(22);
		orders.add(o2);
		Order o3 = new Order(333);
		orders.add(o3);
		
		//send the test data to the first queue
		RiflOrderQueue newqueue = new RiflOrderQueue("rifl.new2submit");
		newqueue.put(o1);
		newqueue.put(o2);
		newqueue.put(o3);
	}
}